package com.cainiao.mapper;

import com.cainiao.pojo.QrtzJobDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface QrtzJobDetailsMapper {
    /**
     *  根据主键删除数据库的记录,qrtz_job_details
     *
     * @param jobName
     * @param jobGroup
     */
    int deleteByPrimaryKey(@Param("jobName") String jobName, @Param("jobGroup") String jobGroup);

    /**
     *  新写入数据库记录,qrtz_job_details
     *
     * @param record
     */
    int insert(QrtzJobDetails record);

    /**
     *  动态字段,写入数据库记录,qrtz_job_details
     *
     * @param record
     */
    int insertSelective(QrtzJobDetails record);

    /**
     *  根据指定主键获取一条数据库记录,qrtz_job_details
     *
     * @param jobName
     * @param jobGroup
     */
    QrtzJobDetails selectByPrimaryKey(@Param("jobName") String jobName, @Param("jobGroup") String jobGroup);

    /**
     *  动态字段,根据主键来更新符合条件的数据库记录,qrtz_job_details
     *
     * @param record
     */
    int updateByPrimaryKeySelective(QrtzJobDetails record);

    /**
     * ,qrtz_job_details
     *
     * @param record
     */
    int updateByPrimaryKeyWithBLOBs(QrtzJobDetails record);

    /**
     *  根据主键来更新符合条件的数据库记录,qrtz_job_details
     *
     * @param record
     */
    int updateByPrimaryKey(QrtzJobDetails record);
}